Skip to content

Conversation

@behowell
Copy link
Contributor

@behowell behowell commented Apr 15, 2025

Note: This was originally in PR #34166 but was pulled out to have a separate discussion about documentation. For further context, please see this discussion thread: https://github.com/microsoft/fluentui/pull/34166/files#r2044847081

Previous Behavior

The documentation for custom style hooks on the public docsite does not mention using getSlotClassNameProp_unstable, which is necessary for correctly implementing a custom style hook, to avoid overriding the className set by a user.

New Behavior

Update the AdvancedStylingTechniques article to demonstrate how to call getSlotClassNameProp_unstable in a custom style hook.

Related Issue(s)

@github-actions
Copy link

github-actions bot commented Apr 15, 2025

📊 Bundle size report

✅ No changes found

@github-actions
Copy link

Pull request demo site: URL

@behowell behowell enabled auto-merge (squash) May 5, 2025 22:48
@behowell behowell merged commit a1987fa into microsoft:master May 5, 2025
11 of 15 checks passed
dmytrokirpa pushed a commit to dmytrokirpa/fluentui that referenced this pull request May 27, 2025
mainframev pushed a commit to mainframev/fluentui that referenced this pull request Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants